// 公共类
export interface ResponseData {
  code?: number
  message?: string
  ok?: boolean
}
export interface departmentInformation {
  id?: number
  number: string
  departmentName: string
  describes: string
}

export interface departmentPage {
  departmentName?: string
  number?: string
  currentPage?: number
  pageSize?: number
}

export interface department {
  departmentName: string
  departmentNumber: string
}

export type departmentlists = department[]

export interface Alldepartment extends ResponseData {
  data: departmentlists
}

export type departments = departmentInformation[]

export interface departmentInformationResponseData extends ResponseData {
  data: {
    records: departments
    total: number
    size: number
    current: number
    orders: []
    searchCount: boolean
    pages: number
  }
}
